package crm.dao;

import crm.entity.Customer;

import java.util.List;

/**
 * 客户功能:
 *    查看自己的基本情况
 *    查看自己的消费情况
 */
public interface CustomerDao {
    //注册用户名和密码
    int add(Customer customer);

    //注册用户信息
    int addAll(Customer customer);

    List<Customer> getByName(String name);
    

    public boolean findCum(Customer customer);

    public boolean findAll(Customer customer);

    public int deleteByName(Customer customer);

    public int deleteByName(String name);

    public int deleteById(int id);

    public int Update(Customer customer);

    public boolean findByName(Customer customer);

    boolean updatePro(Customer customer);









}
